package org.swfer.test 
{
	import flash.display.Sprite;
	import flash.events.Event;
	import org.swfer.UICExtend.Singleton;
	
	/**
	 * ...
	 * @author swfer
	 */
	public class BaseTest extends Sprite 
	{
		
		public function BaseTest() 
		{
			Singleton.skinManager.loadSkin('skin.swf');
			Singleton.skinManager.addEventListener(Event.COMPLETE, onComplete);
		}
		
		private function onComplete(e:Event):void 
		{
			Singleton.skinManager.removeEventListener(Event.COMPLETE, onComplete);
			toDo();
		}
		
		protected function toDo():void
		{
			
		}
		
	}

}